import request from "@/utils/request";
const oss = {
  // 上传
  uploadFile: (data) => request.post("/oss/oss/upload", data),
  secureUrl: (params) =>
    request.get("/oss/oss/secure-url", {
      params: {
        ...params,
        proxyUrl: process.env.VUE_APP_URI,
      },
    }),
};
export default oss;
